package com.mc.lab.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 鉴定 对象 lab_authenticate
 *
 * @author mc
 * @date 2021-03-17
 */
public class LabAuthenticate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 鉴定编号 */
    @Excel(name = "鉴定编号")
    private String authenticateId;

    /** 采集编号 */
    @Excel(name = "采集编号")
    private String cltId;

    /** 鉴定人编号 */
    @Excel(name = "鉴定人编号")
    private String userId;

    /** 鉴定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "鉴定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date authenticateTime;

    /** 鉴定名称 */
    @Excel(name = "鉴定名称")
    private String name;

    /** 学名 */
    @Excel(name = "学名")
    private String scientificName;

    /** 科名 */
    @Excel(name = "科名")
    private String familyName;

    /** 属名 */
    @Excel(name = "属名")
    private String categoryName;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateUserId;

    /** 更新人 */
    @Excel(name = "鉴定人姓名")
    private String nickName;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setAuthenticateId(String authenticateId)
    {
        this.authenticateId = authenticateId;
    }

    public String getAuthenticateId()
    {
        return authenticateId;
    }
    public void setCltId(String cltId)
    {
        this.cltId = cltId;
    }

    public String getCltId()
    {
        return cltId;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setAuthenticateTime(Date authenticateTime)
    {
        this.authenticateTime = authenticateTime;
    }

    public Date getAuthenticateTime()
    {
        return authenticateTime;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setScientificName(String scientificName)
    {
        this.scientificName = scientificName;
    }

    public String getScientificName()
    {
        return scientificName;
    }
    public void setFamilyName(String familyName)
    {
        this.familyName = familyName;
    }

    public String getFamilyName()
    {
        return familyName;
    }
    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName()
    {
        return categoryName;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setUpdateUserId(String updateUserId)
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId()
    {
        return updateUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("authenticateId", getAuthenticateId())
                .append("cltId", getCltId())
                .append("userId", getUserId())
                .append("authenticateTime", getAuthenticateTime())
                .append("name", getName())
                .append("scientificName", getScientificName())
                .append("familyName", getFamilyName())
                .append("categoryName", getCategoryName())
                .append("createTime", getCreateTime())
                .append("createUserId", getCreateUserId())
                .append("updateTime", getUpdateTime())
                .append("updateUserId", getUpdateUserId())
                .append("nickName", getNickName())
                .toString();
    }
}